base = input("Enter first number ")
base = int(base)
exponent = input("Enter first number ")
exponent = int(exponent)

result = 1
while exponent != 0:
    result *= base
    exponent-=1

print("Answer = " + str(result))
